﻿using ST.Buz.Base.Entity;
using System.ComponentModel.DataAnnotations;

namespace ST.Buz.Base.ViewModel
{
	/// <summary>
	/// 用户注册信息
	/// </summary>
	public class VM_Sys_UserRegister<T> where T : class, new()
	{
		[Required(ErrorMessage = "用户信息不能为空")]
		public Sys_User user { get; set; }

		/// <summary>
		/// 
		/// </summary>
		[Required(ErrorMessage = "授权信息不能为空")]
		public T info { get; set; }

		/// <summary>
		/// oauth类型
		/// </summary>
		public int type { get; set; }
	}
}
